home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1996 April
/
CHIP 1996 aprilis (CD06).zip
/
CHIP_CD06.ISO
/
sac
/
pack
/
thd_12_1.exe
/
rar
/
CHGINFO.RAR
/
CHGINFO.TXT
< prev
Wrap
Text File
|
2000-11-25
|
6KB
|
102 lines
CHGINFO is a utility designed to change the information in a TESTINFO.DAT
file to reflect the correct information (as it applies to your BBS type).
CHGINFO.EXE /C - to configure.
CHGINFO.EXE /C /NCD - to configure and NOT include CD-ROMs.
CHGINFO.EXE - to process an existing TESTINFO.DAT
(must be configured first)
It is imperitive for proper operation that CHGINFO.EXE reside in the same
directory as THDPRO.EXE, THDPLUS.EXE and TESTINFO.DAT. It may also need to be
on the same logical drive as your BBS, depending on whether or not your BBS
specifies drives letters in the paths to the various areas. If your BBS is
configured without drive letters (paths like "\FILES" as opposed to
"C:\FILES") then these utilities will need to be located on the same logical
drive as the BBS.
It is important to note that this utility is NOT for everyone. It was
designed for those who have a file tosser but are unhappy with the decriptions
or other information inserted into their File Data Bases by that utility.
If you use a file tosser, and it uses THD ProScan and you are unhappy
with the FDB modifications made by that tosser, then this utility is for you.
Otherwise you have no use for it.
CHGINFO has two specific modes. They are configuration mode and operation
mode.
Configuration mode is invoked by running "CHGINFO.EXE /C". Once run, you
will be prompted for the BBS TYPE with which the utility is to run. The BBS
types are the same as those supported by THDPLUS.EXE. CHGINFO creates a unique
configuration file for each BBS type. Therefore if you wish to use it with
more than one BBS, you can feel free to do so.
Configuration mode by default includes CD-ROMS for all BBS types except
FILES.BBS types. Use "CHGINFO.EXE /C /NCD" to instruct the program to NOT
include CD-ROMs in it's configuration. This switch allows the program to run
faster if you know that the needed files will never be located on the CD-ROM
drives (people with CD-ROM changers should almost definitely use this switch).
The configuration files are named CHGINFO.### where "###" is a three
digit numerical combination. These number combinations represent the BBS TYPE
as recorded inside the TESTINFO record (and do not necessarily agree with the
"number" selected in THDINSTL for your particular BBS type).
Once a BBS Type has been selected, THD will ask you to supply a path to
your BBS directory (except for the FILES.BBS type explained later). It will
then search your BBS's data files for the directories used as file areas and
record them in a packed format in the configuration file.
The FILES.BBS configuration will list for you the available drives on
your system (it should not show any CD-ROM drives). You should remove from
this list any drive letters which will not contain any FILES.BBS files that
are used by your BBS as well as any drives which will not allow the files on
it to be modified (as in worm drives). From this point it will search each
directory on each of the listed drives for the existence of FILES.BBS. Each
directory found to contain a FILES.BBS will be recorded in the packed
configuration file.
Operational mode is as simple as running "CHGINFO.EXE". Once loaded,
CHGINFO will search the TESTINFO.DAT (which must be in the same directory as
CHGINFO). For each entry which has not been processed, CHGINFO will attempt to
verify the existence of the file in the position recorded in the TESTINFO
record. If the file is found at the recorded position, then that record is
skipped (no changes are made).
If however the file is not found in the recorded directory, CHGINFO will
search those directories recorded in the configuration file which corresponds
to the BBS type to be modified. If the file is found in one of the recorded
directories, then the TESTINFO.DAT record is updated to reflect the file's new
location. If the file is not found in the configured directories, no changes
are made to the record.
This modification allows THDPLUS to update the File Data Base according
to the current position of the tested file (rather than it's position at the
time of testing).
This will NOT cause THDPLUS to add files to the BBS'es File Data Base. It
will only modify the TESTINFO.DAT record. If the file is not in the FDB,
THDPLUS will not modify the FDB regardless of changes made by CHGINFO.EXE. (an
exception for TG3 is explained in other documentation).
As an example of it's use. The following "general" method is used by at
least one beta site which prefers THDPRO.EXE's description to that of ALLFIX.
CHGINFO must be configured prior to being used as outlined below.
The user uses ALLFIX as he always has. ALLFIX calls THDPRO.EXE as it's EAC
(and/or file scanner).
Run ALLFIX as always and allow it to toss files into the FDB
Run CHGINFO.EXE
Run THDPLUS /ALL
Since ALLFIX has already run THDPRO.EXE on all files, the descriptions
and file information has already been recorded in TESTINFO.DAT. ALLFIX then
moves the File to the appropriate directory as determined by the "TIC" file.
CHGINFO finds the files and modifies the TESTINFO.DAT records to match
the file's new location.
THDPLUS /ALL causes THDPLUS to process all records in the TESTINFO.DAT
file. As always, it will only modify those entries which already exist in the
BBS'es FDB.
Note that ALLFIX as used above is simply an example. ALLFIX is considered
by many to be an excellent program and is copyrighted by it's creator. This
text intends no disrespect to the product or its author.